package com.gather.spring.service;

import com.gather.po.Obj;

/**
 * @author kxd
 * @date 2018/11/19 18:05
 * description:
 */
public class PersonService {
    private PersonDao personDao;

    public PersonService(PersonDao personDao){
        this.personDao=personDao;
    }
    public void update(int id,String name){
        personDao.update(new Obj.Person(id,name));
    }

}
